<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="${ctx}/res/js/resourceManagement/resourceList.js"></script>
</head>
<body>
	<center>
		<table>
			<!-- 查询条件 区域 -->
			<tr>
				<td>
					<div class="list_query">
						<form  method="post" id="queryForm">
							<label>
								<span>RES_URL</span>
								<input type="text" style="margin-top:10px" name="res_url" placeholder="请输入RES_URL" id="res_url"/>
							</label>
							<label>
								<span>ROLE_NAME</span>
								<input type="text" style="margin-top:10px" name="role_name" placeholder="请输入ROLE_NAME" id="role_name"/>
								<input type="hidden" name="pageType" id="pageType" value="${pageType }" />
							</label>
						</form>
					</div>
				</td>
			</tr>

			<!-- 按钮操作区域 -->
			<tr>
				<td>
					<div class="list_toolbar">
						<div class="toolButton" onclick="queryResource()">查询</div>
						<div class="toolButton" onclick="newResource()">新建</div>
						<div class="toolButton" onclick="editResource()">修改</div>
						<div class="toolButton" onclick="deleteResource()">删除</div>
						<div class="toolButton" onclick="viewAllMapButtonClickEvent()">查看所有映射</div>
					</div>
				</td>
			</tr>
			<!-- 表头区域-->
			<tr>
				<td>
					<table class="list_grid">
						<thead>
							<tr>
								<th style="width: 34%;">RES_URL</th>
								<th style="width: 12%;">ROLE_NAME</th>
								<th style="width: 12%;">CREATE_USER</th>
								<th style="width: 12%;">CREATE_TIME</th>
								<th style="width: 15%;">LAST_MODIFY_USER</th>
								<th style="width: 15%;">LAST_MODIFY_TIME</th>
								<th style="width: 1px;"></th>
							</tr>
						</thead>
					</table>
				</td>
			</tr>

			<!-- 数据区域 -->
			<tr>
				<td>
					<div class="list_scrollControlDiv">
						<table class="list_grid" style="border-spacing: 0;">
							<tbody id="tBodyList">
							</tbody>
						</table>
					</div>
				</td>
			</tr>

			<!-- 分页控件区域 -->
			<tr>
				<td>
					<div id="pagination" class="pagination"></div>
				</td>
			</tr>

			<!-- 弹出窗口操作区域 -->
			<tr>
				<td></td>
			</tr>
		</table>
	</center>

	<form id="submitForm" method="post" action="${ctx}/resourceManagement/resourceDetails.do">
		<input type="hidden" name="id" />
	</form>
	
</body>
</html>